﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using System.Data.SqlClient;

namespace QLTC.Danh_Muc
{
    public partial class frmQuyenTruyCap : DevExpress.XtraEditors.XtraForm
    {
        public frmQuyenTruyCap()
        {
            InitializeComponent();
        }

        private void frmQuyenTruyCap_Load(object sender, EventArgs e)
        {
            SqlConnection conn = new SqlConnection();
            string DataSource = "TVDT_CB02";
            string DataBase = "ThuChiDB";
            string UserID = "sa";
            string Password ="123456";

            conn.ConnectionString = "Data Source = " + DataSource +
                ";Initial Catalog = " + DataBase +
                ";User Id = " + UserID +
                ";Password = " + Password;

            conn.Open();

            SqlCommand sqlCmm = new SqlCommand("", conn);
            sqlCmm.CommandType = CommandType.StoredProcedure;


        }
    }
}